WARNING: This program has a bug, so we need to fix it! Let's learn some function rules!

RULE 1: Function names cannot have any spaces in them. Combine two word names with an underscore _ , like this: function_name.

  • Click Run and read the error message.
  • Debug the program by making the function name one word.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)